This logger class writes log messages to the Windows debugger console. More...
#include <kanzi/core/platform/log/win32/win32_debug_logger.hpp>
Protected Member Functions | |
virtual void | writeOverride (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message) KZ_OVERRIDE |
See kanzi::AbstractLogger::writeOverride. More... | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::AbstractLogger | |
void | write (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message) |
Kanzi calls this function to store the message to the log. More... | |
virtual | ~AbstractLogger () |
Destructor. More... | |
This logger class writes log messages to the Windows debugger console.
|
protectedvirtual |
See kanzi::AbstractLogger::writeOverride.
Writes the levelName
and the categoryName
followed by the message
to the log. For error messages writes also the fileName
and lineNumber
.
level | The log level of the message. |
levelName | The string representation of the log level. |
categoryName | The string representation of the log category. |
fileName | The name of the file from which the log message originated. |
lineNumber | The number of the line in the file from which the log message originated. |
message | The message being written to the log. |
Implements kanzi::AbstractLogger.